package com.atlc.preview.project.model;

import java.io.Serializable;
import java.util.List;

/**
 * @author 梁冲
 * @version 1.0
 * @email 1357042069@qq.com
 * @date 2021/11/21
 */
public class Problem implements Serializable {

    private String title;

    private String type;

    private Integer score;

    private List<String> chooses;

    private String answer;

    public Problem() {
    }

    public Problem(String title, String type, Integer score, List<String> chooses, String answer) {
        this.title = title;
        this.type = type;
        this.score = score;
        this.chooses = chooses;
        this.answer = answer;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public List<String> getChooses() {
        return chooses;
    }

    public void setChooses(List<String> chooses) {
        this.chooses = chooses;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    @Override
    public String toString() {
        return "Problem{" +
                "title='" + title + '\'' +
                ", type='" + type + '\'' +
                ", score=" + score +
                ", chooses=" + chooses +
                ", answer='" + answer + '\'' +
                '}';
    }
}
